package com.mengxuegu.springboot.entities;

import java.io.Serializable;
import java.util.Date;

public class BankAdmin implements Serializable {
    private Integer id;

    /**
     * 账号
     */
    private String iname;

    private String pwd;

    /**
     * 真实姓名
     */
    private String name;

    /**
     * 性别（0男、1女）
     */
    private String gender;

    /**
     * 手机号
     */
    private String tel;

    /**
     * 身份证号
     */
    private String idNo;

    private String statu;

    private String stat;

    /**
     * 归属地
     */
    private String accban;

    private Date createDate;

    private Date updateDate;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname == null ? null : iname.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo == null ? null : idNo.trim();
    }

    public String getStatu() {
        return statu;
    }

    public void setStatu(String statu) {
        this.statu = statu == null ? null : statu.trim();
    }

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat == null ? null : stat.trim();
    }

    public String getAccban() {
        return accban;
    }

    public void setAccban(String accban) {
        this.accban = accban == null ? null : accban.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", iname=").append(iname);
        sb.append(", pwd=").append(pwd);
        sb.append(", name=").append(name);
        sb.append(", gender=").append(gender);
        sb.append(", tel=").append(tel);
        sb.append(", idNo=").append(idNo);
        sb.append(", statu=").append(statu);
        sb.append(", stat=").append(stat);
        sb.append(", accban=").append(accban);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}